$def with (privData)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
$:privData['render'].header(privData)
<body>
$:privData['render'].pageheader(privData)

<h2>$:privData['NAME'] <a id="deleteBatch" href="#" name="comment">批量删除</a> </h2>
<table width="800" border="0" cellspacing="0" cellpadding="1" class="list">
    <tr>
        <th><input type="checkbox" id="selectall"/></th>
        <th>ID</th>
        <th>评论内容</th>
        <th>评论管理</th>
    </tr>
    $for i in privData['COMMENT_LIST']:
    <tr>
        <td align="center"><input type="checkbox" class="case" name="ids" value="$:i['id']"/></td>
        <td align="center">$:i['id']</td>
        <td align="center">$subStr(i['content'], 0, 16)</td>
        <td align="center">
            <a href="$makeUrl('/user/comment/edit',{'id':i['id'],'product':privData['PRODUCT_ID']})" >编辑</a> |
            <a href="$makeUrl('/user/comment/delete',{'id':i['id'],'product':privData['PRODUCT_ID']})" onclick="return confirm('确认删除？')">删除</a>
        </td>
    </tr>
</table>

<nav class="navigation">
    $:privData['PAGE_STRING']
</nav>

<div style="clear: both;"></div>
</div>
</body></html>
